import BaseApi from '../BaseApi';
const controller = "/attendanceRecord";

export default {
    /**
     * 巡查反馈记录列表
     * @param condition
     */
    getFeedbackList(condition) {
        return this.requestPost(controller, "/getFeedbackList", condition);
    },

    /*请求封装*/
    requestPost(controller, url, condition) {
        let newUrl = controller + url;
        return BaseApi.requestPost(newUrl, condition);

    },
    requestGet(controller, url, condition) {
        let newUrl = controller + url;
        return BaseApi.requestGet(newUrl, condition);

    },

}
